package org.breezeiot.protodecode.dataobject.gw.afn04;

import org.breezeiot.protodecode.protocol.chargingpile.MsgCommData;

/**
 * AFN:04 <br>
 * F7：终端IP地址和端口
 * 
 * @author zoe
 */
public class RtuParamF7 extends MsgCommData {

    private String ip;                  // IP地址
    private String mask;                // 子网掩码
    private String gateway;             // 网关

    private short  proxyType;           // 代码类型
    private String proxyServerIp;       // 代码服务器地址
    private int    proxyServerPort;     // 代理服务器端口
    private short  proxyServerConnType; // 代理服务器连接方式
    private String proxyServerUsername; // 代理服务器用户名
    private String proxyServerPwd;      // 代理服务器密码

    private int    listeningPort;       // 终端侦听端口

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getMask() {
        return mask;
    }

    public void setMask(String mask) {
        this.mask = mask;
    }

    public String getGateway() {
        return gateway;
    }

    public void setGateway(String gateway) {
        this.gateway = gateway;
    }

    public short getProxyType() {
        return proxyType;
    }

    public void setProxyType(short proxyType) {
        this.proxyType = proxyType;
    }

    public String getProxyServerIp() {
        return proxyServerIp;
    }

    public void setProxyServerIp(String proxyServerIp) {
        this.proxyServerIp = proxyServerIp;
    }

    public int getProxyServerPort() {
        return proxyServerPort;
    }

    public void setProxyServerPort(int proxyServerPort) {
        this.proxyServerPort = proxyServerPort;
    }

    public short getProxyServerConnType() {
        return proxyServerConnType;
    }

    public void setProxyServerConnType(short proxyServerConnType) {
        this.proxyServerConnType = proxyServerConnType;
    }

    public String getProxyServerUsername() {
        return proxyServerUsername;
    }

    public void setProxyServerUsername(String proxyServerUsername) {
        this.proxyServerUsername = proxyServerUsername;
    }

    public String getProxyServerPwd() {
        return proxyServerPwd;
    }

    public void setProxyServerPwd(String proxyServerPwd) {
        this.proxyServerPwd = proxyServerPwd;
    }

    public int getListeningPort() {
        return listeningPort;
    }

    public void setListeningPort(int listeningPort) {
        this.listeningPort = listeningPort;
    }

}
